home *** CD-ROM | disk | FTP | other *** search
-
-
- GENERAL GUIDELINES ABOUT YACL USAGE
-
-
- 1. Always remember: event dependent methods must return TRUE. If an event
- dependent method returns FALSE, that means that no other event dependents
- will be notified of the event. So if you ever find that your event-dependent
- method is not getting called, it's probably because some other event
- dependent method returned FALSE.
-
- 2. On the other hand, virtual event handling methods on classes derived from
- VisualObject must return FALSE. If a handler method returns TRUE, the event
- will not be sent further up the view tree.
-
-
- 3. Here are a few hints on debugging under Windows and OS/2.
-
- - I've often found the need to trace a program during a particular
- event, e.g., a paint event. You can use CL_Error::Warning in
- such a situation, but only if you compile ui/applic.obj with the
- DEBUG symbol defined. Doing this will cause the application to
- put up an auxiliary window in which are written all messages
- produced by the CL_Error methods.
-
-